<div class="contents">
    <ol class="breadcrumb">
        <li><a href="#/index/panel">首页</a></li>
        <li class="active">素材管理</li>
    </ol>
    <!--<form class="form-inline search-box" role="form" ng-submit="search()" novalidate>-->
    <!--<div class="form-group">-->
    <!--<input type="text" class="form-control" placeholder="登录手机" ng-model="searchMap.uLoginName" style="width:140px;">-->
    <!--</div> -->
    <!---->
    <!--<div class="form-group">-->
    <!--&lt;!&ndash;<input type="text" class="form-control" placeholder="邀请人手机" ng-model="searchMap.sourceLoginName" style="width:140px;">&ndash;&gt;-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--<input type="text" class="form-control" placeholder="公司名称" ng-model="searchMap.uCompanyName" style="width:140px;">-->
    <!--</div> -->
    <!--<div class="form-group">-->
    <!--<input type="text" class="form-control" placeholder="客户姓名" ng-model="searchMap.uRealName" style="width:140px;">-->
    <!--</div>-->
    <!---->
    <!--<div class="form-group">-->
    <!--<select class="form-control" placeholder="认证" ng-model="searchMap.uRole" ng-options="m.value as m.text for m in dictMap.rzMapModel" ><option value="">--选择认证--</option></select>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--注册时间：从<input type="date" class="form-control" placeholder="注册开始日期,如2015-01-01" ng-model="searchMap.createDateStart" maxlength="10">-->
    <!--</div> -->

    <!--<div class="form-group">-->
    <!--至<input type="date" class="form-control" placeholder="注册结束日期,如2015-01-01" ng-model="searchMap.createDateEnd" maxlength="10">-->
    <!--</div>  -->
    <!---->
    <!--<button type="submit" class="btn btn-primary">查询</button>-->
    <!---->
    <!--</form>-->
    <table class="table table-striped table-hover">
        <thead>
        <tr>
            <th width="65" ng-click="orderby('logicFullpath')">素材<i class="orderby-icons"
                                                                    ng-class="{'orderby-asc':orderbyFreqMap['logicFullpath'][orderbyPositionMap['logicFullpath']] == 'asc','orderby-desc':orderbyFreqMap['logicFullpath'][orderbyPositionMap['logicFullpath']] == 'desc'}"></i>
            </th>
            <th width="65" ng-click="orderby('fileName')">名称<i class="orderby-icons"
                                                               ng-class="{'orderby-asc':orderbyFreqMap['fileName'][orderbyPositionMap['fileName']] == 'asc','orderby-desc':orderbyFreqMap['fileName'][orderbyPositionMap['fileName']] == 'desc'}"></i>
            </th>
            <th width="65" ng-click="orderby('logicFullpath')">全路径<i class="orderby-icons"
                                                                     ng-class="{'orderby-asc':orderbyFreqMap['logicFullpath'][orderbyPositionMap['logicFullpath']] == 'asc','orderby-desc':orderbyFreqMap['logicFullpath'][orderbyPositionMap['logicFullpath']] == 'desc'}"></i>
            </th>
            <th width="50">操作</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="fa in fas">
            <td><img height="50px" width="50px" ng-src="{{staticHost}}{{fa.logicFullpath}}"/></td>
            <td>{{fa.fileName}}</td>
            <td>{{fa.logicFullpath}}</td>
            <td class="optd">
                <a href="javascript:" ng-click="edit(fa.id)">编辑</a>
                <a href="javascript:" ng-click="delete(fa.id)">删除</a>
            </td>
        </tr>
        </tbody>
    </table>

    <div style="display: inline-block" class="pager-box" ng-include src="'tpl/public/pager.html'"
         ng-show="fas.length > 0"></div>
    <div style="display: inline-block;vertical-align: text-bottom;margin: 15px;color: #428bca;font-size: 14px"
         class="form-inline" ng-show="fas.length > 0">
        <label style="vertical-align: sub;font-weight: 400">每页显示：</label><input type="number" class="form-control"
                                                                                ng-model="setPageSize" max="1000"><label
            style="vertical-align: baseline;font-weight: 400">&nbsp;&nbsp;条（最大1000条）
        <button type="button" class="btn btn-primary" ng-click="changePageSize()" style="vertical-align: sub">确定
        </button>
    </label>
    </div>
</div>

